package com.lujianbuping.system.opportunityprojectmanagementsystem.dao;

import com.lujianbuping.system.opportunityprojectmanagementsystem.entity.RelRoleofmenuEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface RoleofmenuMapper {
    int deleteByPrimaryKey(String menuId);

    int insert(RelRoleofmenuEntity record);

    int insertSelective(RelRoleofmenuEntity record);

    RelRoleofmenuEntity selectByPrimaryKey(String menuId);

    int updateByPrimaryKeySelective(RelRoleofmenuEntity record);

    int updateByPrimaryKey(RelRoleofmenuEntity record);
    
    List<RelRoleofmenuEntity> selectAll(@Param("orderBy") String orderBy);

	List<RelRoleofmenuEntity> selectByKeyWithPagination(@Param("key") String key, @Param("pageNo") int pageNo,
                                                        @Param("pageSize") int pageSize);
}